package API.File.CommonMethods;

import java.io.File;

public class GetInfo {
    public static void main(String[] args) {
        String parentPath = "git-container-java\\src\\API\\File\\CommonMethods\\Files";
        File dir = new File(parentPath);
        File file1 = new File(parentPath + "\\File1.txt");
        System.out.println(dir.isDirectory());
        System.out.println(file1.isFile());
        System.out.println(file1.exists());
        System.out.println(dir.getAbsoluteFile());
        System.out.println(file1.getName());
    }
}
